const menus = [
  {
    title: '业务管理',
    key: 'm1',
    authoritys: ['*', 'image-store', 'image-category', 'image-search', 'chart-finding', 'product-manage'],
    children: [
      // { title: '图库管理', route: 'rvImageStore', path: '/image-store', key: 'm1-1', authoritys: ['*', 'image-store'] },
      // { title: '图库分类', route: 'rvImageCategory', path: '/image-category', key: 'm1-2', authoritys: ['*', 'image-category'] },
      // { title: '以图搜图', route: 'rvImageSearch', path: '/image-search', key: 'm1-3', authoritys: ['*', 'image-search'] },
      // { title: '备选图管理', route: 'rvChartFindingRecord', path: '/chart-finding', key: 'm1-4', authoritys: ['*', 'chart-finding'] },
      { title: '以图搜图配置', route: 'rvImageSearchConfigList', path: '/image-search-config', key: 'm1-5', authoritys: ['*', 'image-search-config'] },
      { title: '会员管理', route: 'rvMembershipList', path: '/membership', key: 'm1-6', authoritys: ['*', 'membership-manage'] },
      { title: 'APPS管理', route: 'rvAppsList', path: '/apps', key: 'm1-7', authoritys: ['*', 'apps-manage'] },
      { title: '产品管理', route: 'rvProductsList', path: '/products', key: 'm1-8', authoritys: ['*', 'product-manage'] },
      { title: '消息管理', route: 'rvMessage', path: '/message', key: 'm1-9', authoritys: ['*', 'message-manage'] }
    ]
  },
  {
    title: '系统管理',
    key: 'm2',
    authoritys: ['*', 'user-manage', 'role-manage', 'resource-manage', 'mresource-manage'],
    children: [
      { title: '用户管理', route: 'rvUserList', path: '/user-list', key: 'm2-1', authoritys: ['*', 'user-manage'] },
      { title: '资源管理', route: 'rvResourceList', path: '/resource-list', key: 'm2-2', authoritys: ['*', 'resource-manage'] },
      { title: '角色管理', route: 'rvRoleList', path: '/role-list', key: 'm2-3', authoritys: ['*', 'role-manage'] },
      { title: '会员资源管理', route: 'rvMResourceList', path: '/mresource-list', key: 'm2-4', authoritys: ['*', 'mresource-manage'] },
      { title: '系统设置', route: 'rvSettings', path: '/settings', key: 'm2-5', authoritys: ['*', 'settings-manage'] }
    ]
  }
]

export default menus
